﻿using System;
using Assessment.DBUtility;

namespace Assessment.DAL
{
    public class utilityDAL
    {
        public int GetNewId()
        {
            int newid = Convert.ToInt32(DbHelperSQL.Query("SELECT LAST_INSERT_ID()").Tables[0].Rows[0][0]);
            return newid;
        }
    }
}
